SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';

SET NAMES utf8mb4;

DROP TABLE IF EXISTS `outline_keys`;
CREATE TABLE `outline_keys` (
  `id` tinyint unsigned NOT NULL AUTO_INCREMENT,
  `ClientTGid` bigint NOT NULL,
  `ClientOutlineName` char(255) NOT NULL,
  `ClientOutlineKey` text NOT NULL,
  `ClientTGname` char(255) NOT NULL,
  `ClientTGaccount` char(255) NOT NULL,
  `ClientTarif` char(255) NOT NULL,
  `Payment_method` char(255) NOT NULL,
  `PaydTill` timestamp NOT NULL,
  `PaymentPeriod` int NOT NULL,
  `IsActive` int NOT NULL,
  `RegistrationDate` timestamp NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
